<!-- Start the Loop. -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

<!-- The following tests if the current post is in category 3. -->
<!-- If it is, the div box is given the CSS class "post-cat-three". -->
<!-- Otherwise, the div box will be given the CSS class "post". -->

    <div class="result-list">

        <!-- Display the Title as a link to the Post's permalink. -->
    <p>
        <a target="_blank" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
            <?php the_title(); ?>
        </a>
        <span class="post-date">发表于 <?php the_time(Y年n月j日) ?></span>
    </p>


        <!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. -->

        <!-- Display the Post's Content in a div box. -->
            

        <!-- Display a comma separated list of the Post's Categories. -->


    </div> <!-- closes the first div box -->

    <!-- Stop The Loop (but note the "else:" - see next line). -->
    <?php endwhile; else: ?>

    <!-- The very first "if" tested to see if there were any Posts to -->
    <!-- display.  This "else" part tells what do if there weren't any. -->
    <p class="center"><?php _e('哦，你找的文章好像不在哦。', 'kubrick'); ?></p>

    <!-- REALLY stop The Loop. -->
<?php endif; ?>
<div id="pagenavi-wrapper">
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
</div>